Java Beans Interview Questions and Answers
Ques 11. What is the serializable class in java beans?
Any class is serializable as long as that class or a parent class implements the java.io.Serializable interface. Examples of serializable classes include Component, String, Date, Vector, and Hashtable.
Ques 12. How to create bound property in bean application?
To create the title property as a bound property for the MyBean component in the NetBeans GUI Builder, perform the following sequence of operations:
► Right-click the Bean Patterns node in the MyBean class hierarchy.
► Select Add|Property from the pop-up menu.
► Fill the New Property Pattern form as shown on the following figure and click OK.
Ques 13. What is Glasgow?
Glasgow - the code name for add-ins to the JavaBeans specification. It contains following specifications:
► The Extensible Runtime Containment and Services Protocol
► The Drag and Drop Subsystem for the Java Foundation Classes
► The JavaBeans Activation Framework
Ques 14. How does the InfoBus relate to JavaBeans?
The InfoBus specification extends JavaBeans by providing a set of enhanced interfaces to share and exchange dynamic data.
Ques 15. Will the general public have access to the InfoBus API s?
Yes, under the usual terms of the JDK license. The specification and technology preview are available in our products archive.
Most helpful rated by users:
- What are Java Beans?
- Why do I get a NullPointerException when loading a JAR file into the BeanBox?
- What is bean persistance property?
- What are externizable interface?
- What are the purpose of introspection?